package com.example.whatrubbish.service;

import com.example.whatrubbish.model.User;
import com.example.whatrubbish.vo.Criteria;
import com.example.whatrubbish.vo.UserWithIntegration;

import java.util.List;

public interface UserService {
    Long selectSearchRecordCount(Criteria criteria);

    List<UserWithIntegration> selectSearchRecord(Criteria criteria);

    int deleteByPrimaryKey(String userId);

    int insert(User record);

    int insertSelective(User record);

    UserWithIntegration findByPrimaryKey(String userId);

    User selectByPrimaryKey(String userId);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
}
